package com.jianying.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.jianying.base.BaseMapper;
import com.jianying.dataSource.TargetDataSource;
import com.jianying.domain.Quotation;

@Repository("quotationMapper")
public class QuotationMapper extends BaseMapper {

	private final static String NAME_SPACE = "com.jianying.mapper.QuotationMapper.";
	
	@TargetDataSource(name="ds1")
	public void insertBatch(List<Quotation> entity) {
		getSqlSessionTemplate().insert(NAME_SPACE + "insertBatch", entity);
	}
	
}
